package com.mhjy.synchro.Task;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.mhjy.synchro.service.ISynchroService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


@Component
public class ScheduledTask {

//    @Autowired
//    private ISynchroService synchroService;
//
//    @Scheduled(fixedRate = 3600000) //每一小时秒执行一次
//    public  void SynchroMember() throws JsonProcessingException {
//        synchroService.SynchroMember();
//    }
//

//    @Scheduled(fixedRate = 3600000) //每一小时秒执行一次
//    public  void SynchroSoDetail() throws JsonProcessingException {
//        synchroService.SynchroSoDetail();
//    }
}
